package com.groupbuying.settleproducer.domain;

import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;


/**
 * 结算中心分账主信息表
 * 
 * @author cuich
 * @email cuichanghao@linku.com.cn
 * @date 2019-06-05 12:02:29
 * @des
 */
public class SettleUshopSplitMaininfoDO implements Serializable {
	private static final long serialVersionUID = 1L;
	

	/**
	 * 分账单号
	 */
	private String settleId;

	/**
	 * 订单号
	 */
	private String orderId;

	/**
	 * 支付单号
	 */
	private String payId;

	/**
	 * 分账总金额
	 */
	private BigDecimal totalAmount;

	/**
	 * 分账规则
	 */
	private String settleRules;

	/**
	 * 分账类型:支付分账-PAY-0,对冲分账-HEDGE-1
	 */
	private String settleType;

	/**
	 * 支付渠道:源生-OR-NATIVE，银盛-YS-YINSHENG，自己平台-SELF-PLATFORM
	 */
	private String payChannel;

	/**
	 * 分账状态:分账成功-SUC-0,分账失败-FALL-1
	 */
	private String status;

	/**
	 * 删除标记:未删除-UNDEL-1,删除-DEL-0
	 */
	private String isDelete;

	/**
	 * 创建时间
	 */
	private Date gmtCreate;

	/**
	 * 更新时间
	 */
	private Date gmtModified;

	/**
	 * 设置：分账单号
	 */
	public void setSettleId(String settleId) {
		this.settleId = settleId;
	}
	/**
	 * 获取：分账单号
	 */
	public String getSettleId() {
		return settleId;
	}
	/**
	 * 设置：订单号
	 */
	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}
	/**
	 * 获取：订单号
	 */
	public String getOrderId() {
		return orderId;
	}
	/**
	 * 设置：支付单号
	 */
	public void setPayId(String payId) {
		this.payId = payId;
	}
	/**
	 * 获取：支付单号
	 */
	public String getPayId() {
		return payId;
	}
	/**
	 * 设置：分账总金额
	 */
	public void setTotalAmount(BigDecimal totalAmount) {
		this.totalAmount = totalAmount;
	}
	/**
	 * 获取：分账总金额
	 */
	public BigDecimal getTotalAmount() {
		return totalAmount;
	}
	/**
	 * 设置：分账规则
	 */
	public void setSettleRules(String settleRules) {
		this.settleRules = settleRules;
	}
	/**
	 * 获取：分账规则
	 */
	public String getSettleRules() {
		return settleRules;
	}
	/**
	 * 设置：分账类型:支付分账-PAY-0,对冲分账-HEDGE-1
	 */
	public void setSettleType(String settleType) {
		this.settleType = settleType;
	}
	/**
	 * 获取：分账类型:支付分账-PAY-0,对冲分账-HEDGE-1
	 */
	public String getSettleType() {
		return settleType;
	}
	/**
	 * 设置：支付渠道:源生-OR-NATIVE，银盛-YS-YINSHENG，自己平台-SELF-PLATFORM
	 */
	public void setPayChannel(String payChannel) {
		this.payChannel = payChannel;
	}
	/**
	 * 获取：支付渠道:源生-OR-NATIVE，银盛-YS-YINSHENG，自己平台-SELF-PLATFORM
	 */
	public String getPayChannel() {
		return payChannel;
	}
	/**
	 * 设置：分账状态:分账成功-SUC-0,分账失败-FALL-1
	 */
	public void setStatus(String status) {
		this.status = status;
	}
	/**
	 * 获取：分账状态:分账成功-SUC-0,分账失败-FALL-1
	 */
	public String getStatus() {
		return status;
	}
	/**
	 * 设置：删除标记:未删除-UNDEL-1,删除-DEL-0
	 */
	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}
	/**
	 * 获取：删除标记:未删除-UNDEL-1,删除-DEL-0
	 */
	public String getIsDelete() {
		return isDelete;
	}
	/**
	 * 设置：创建时间
	 */
	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getGmtCreate() {
		return gmtCreate;
	}
	/**
	 * 设置：更新时间
	 */
	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}
	/**
	 * 获取：更新时间
	 */
	public Date getGmtModified() {
		return gmtModified;
	}

    @Override
    public String toString() {
        return "SettleUshopSplitMaininfoDO{" +
									                    "settleId=" + settleId +
					                										",orderId=" + orderId +
					                										",payId=" + payId +
					                										",totalAmount=" + totalAmount +
					                										",settleRules=" + settleRules +
					                										",settleType=" + settleType +
					                										",payChannel=" + payChannel +
					                										",status=" + status +
					                										",isDelete=" + isDelete +
					                										",gmtCreate=" + gmtCreate +
					                										",gmtModified=" + gmtModified +
					                				"}";
    }
}
